package user;

import book.BookList;
import operation.IOPeration;

public abstract class User {
    private String name;
    protected IOPeration[] ioPerations;

    public User(String name) {
        this.name = name;
    }

    public abstract int meau();

    public void doIoperation(int choice, BookList booklist){
        this.ioPerations[choice].work(booklist);
    }
}
